package xyz.labmem.main.modular.app.other.entity

import com.alibaba.excel.annotation.ExcelProperty
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.baomidou.mybatisplus.extension.activerecord.Model
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.io.Serializable


@TableName("app_other_function")
@ApiModel(value = "常用功能")
class AppOtherFunction : Model<AppOtherFunction>(), Serializable  {
    @ExcelProperty("主键")
    @TableId
    @ApiModelProperty(value = "主键")
    var prefix : String? = null

    @ExcelProperty("名称")
    @ApiModelProperty(value = "名称")
    var name : String? = null

    @ExcelProperty("图片名称")
    @ApiModelProperty(value = "图片名称")
    var image : String? = null

    @ExcelProperty("排序")
    @ApiModelProperty(value = "排序")
    var orderId : Int? = 100

    @TableField(exist = false)
    @ApiModelProperty(value = "是否有展示")
    var enShow: Boolean = false



}